<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="./js/vue.js"></script>
    <title>更新时的问题</title>
</head>
<body>
    <div id="root">
        <!-- 
            
        -->
        <h1>学校名称：{{name}}</h1>
        <h1>学校地址：{{address}}</h1>
    </div>
</body>
<script>
    //计算属性实现
    var vm = new Vue({
        el: '#root',
        data: {
            name: "尚硅谷",
            address: "北京"
        }
    })      
</script>
</html>